package com.chenyue.cm.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单日志表
 * </p>
 *
 * @author Lbx
 * @since 2024-02-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="JdOrderLog对象", description="订单日志表")
public class JdOrderLog extends Model<JdOrderLog> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "会员id")
    private String memberId;

    @ApiModelProperty(value = "订单类型 0：积分商品 1：普通商品")
    private String orderType;

    @ApiModelProperty(value = "日志类型( 1新增  2取消支付 3取消订单 4退款 5删除  6超过15分钟，失效 )")
    private Integer logType;

    @ApiModelProperty(value = "备注信息")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
